//模拟数据接口
import Mock from 'mockjs';
import banner from './Json/banner.json';
import floor from './Json/floor.json';

Mock.mock('/mock/banner',{code: 200,data: banner});  //路径，返回数据
Mock.mock('/mock/floor',{code:200,data:floor}) //第一个参数，代表我们以后请求的路径，第二个参数代表返回的数据
  //路径，返回数据